﻿package com.tudou.track
{
    import com.tudou.config.*;
    import com.tudou.model.*;
    import flash.net.*;

    public class PrivacyTracker extends Object
    {
        public static const SUCCEED:int = 2;
        public static const SUBMIT:int = 1;
        public static const CONTACT_USER:int = 3;
        public static const SEARCH:int = 4;

        public function PrivacyTracker()
        {
            return;
        }// end function

        public static function send(param1:IBaseInfo, param2:int) : void
        {
            var _loc_3:* = Config.PRIVACY_TRACER_URL;
            _loc_3 = _loc_3 + "?v=1";
            var _loc_4:Array = [param1.sourceId, param1.iid, param1.userId, param2, ""];
            _loc_3 = _loc_3 + ("&s=" + _loc_4.join("|"));
            sendToURL(new URLRequest(_loc_3));
            return;
        }// end function

    }
}
